package com.ruoyi.publish.service;

import com.ruoyi.publish.domain.Article;

import java.util.List;
import java.util.Map;

public interface ArticleService {
    List<Article> selectList(Article article);

    boolean checkAticleNameUnique(Article article);

    boolean checkColumnExists(Long columnId);

    int insertArticle(Article article);

    int updateArticle(Article article);

    boolean checkArticleExists(Long articleId);

    int deleteArticleById(Long articleId);

    int updateStatus(Article article);

    List<Map<String,Object>> selectColumnName();

    Article selectArticleById(Long articleId);

    boolean checkArticleCanRecall(Long articleId);
}
